class ErrorModel {
  constructor([code, message, traceId]) {
    this.status = code
    this.message = message
    this.traceId = traceId
  }
}

module.exports = (...args) => {
  return new ErrorModel(args)
}
